<?php 
/*
 module:		角色管理控制器
 create_time:	2022-08-09 17:31:56
 author:		
 contact:		
*/

namespace App\Validate\admin;
use App\Validate\BaseValidate;

class RoleValidate extends BaseValidate {


	protected $rule = [
		'name'=>['required'],
	];

	protected $message = [
		'name.required'=>'角色名称不能为空',
	];

	protected $scene  = [
		'add'=>['name'],
		'update'=>['name'],
	];





}



